
///状态内容映射

export const auditStateToHtml = (state) => {
    let _json = {
        '已审核': `<span class="badge badge-outline badge-dark" style="padding: 6px;border-radius: 15px;font-size: 14px;">${state}</span>`,
        '3': `<span class="badge badge-outline badge-dark" style="padding: 6px;border-radius: 15px;font-size: 14px;">已审核</span>`,
        '已提交': `<span class="badge  badge-outline badge-primary" style="padding: 6px;border-radius: 15px;font-size: 14px;">${state}</span>`,
        '2': `<span class="badge  badge-outline badge-primary" style="padding: 6px;border-radius: 15px;font-size: 14px;">已提交</span>`,
        '已保存': `<span class="badge  badge-outline badge-success" style="padding: 6px;border-radius: 15px;font-size: 14px;">${state}</span>`,
        '1': `<span class="badge  badge-outline badge-success" style="padding: 6px;border-radius: 15px;font-size: 14px;">已保存</span>`,
        '未结算完': `<span class="badge  badge-outline badge-warning" style="padding: 6px;border-radius: 15px;font-size: 14px;">${state}</span>`,
        '22': `<span class="badge  badge-outline badge-warning" style="padding: 6px;border-radius: 15px;font-size: 14px;">未结算完</span>`,
        '已结算完': `<span class="badge  badge-outline badge-warning" style="padding: 6px;border-radius: 15px;font-size: 14px;">${state}</span>`,
        '21': `<span class="badge  badge-outline badge-warning" style="padding: 6px;border-radius: 15px;font-size: 14px;">已结算完</span>`,
        '已删除': `<span class="badge  badge-outline badge-danger" style="padding: 6px;border-radius: 15px;font-size: 14px;">${state}</span>`,
        '99': `<span class="badge  badge-outline badge-danger" style="padding: 6px;border-radius: 15px;font-size: 14px;">已删除</span>`,
        '已初始化': `<span class="badge  badge-outline badge-default" style="padding: 6px;border-radius: 15px;font-size: 14px;">${state}</span>`,
        '97': `<span class="badge  badge-outline badge-warning" style="padding: 6px;border-radius: 15px;font-size: 14px;">已关闭</span>`,
        '98': `<span class="badge  badge-outline badge-warning" style="padding: 6px;border-radius: 15px;font-size: 14px;">已冲销</span>`,
    };
    return _json[state];
}
